// 学校组织，如“人事部”，“教务部”等等
class Organize {
    String name = ''    
    String description = '' //
    School school
    
    static belongsTo = Teacher
    static hasMany = [teachers:Teacher]

    static constraints = {
		name(blank: false, size:0..250)
        description(blank: true, size:0..500)
        school nullable:true
    }

    static mapping = {
       table 'xedu_organize'
     }

    String toString (){
        "$name"
    }
}
